<%@page import="java.util.Map"%>
<%@page import="java.util.List"%>
<%@page import="java.net.URLDecoder"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><!--引入标签库 -->

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>志愿者列表</title>
<script src="js/jquery-1.11.3.min.js"></script>
<link rel="shortcut icon" href="images/logo.png">
<link rel="stylesheet" href="css/basic1.css" type="text/css">
<link rel="stylesheet" href="css/vh.css" type="text/css">
<link rel="stylesheet" href="css/zb.min.css" type="text/css">
<link rel="stylesheet" href="css/global.css" type="text/css">
<link rel="stylesheet" href="css/jcc.css" type="text/css">
<link rel="stylesheet" href="css/new_global.css" type="text/css">
<link rel="stylesheet" href="css/new_mall.css" type="text/css">
<script src="js/list.js"></script>
</head>   
    <body>
        
        <header>
            <div class="container">
                <div id="logo"><img src="images/logo.png"></div>
                <nav>
                    <ul class="searchul">
                        
                       <c:choose>
				    <c:when test="${volunteer.getVuname() ne null}">
				       <li><a href="login.jsp">${volunteer.getVuname()}</a></li>
				    </c:when>
				    <c:when test="${elder.getVuname() ne null}">
				       <li><a href="login.jsp">${elder.getVuname()}</a></li>
				    </c:when>
				    <c:otherwise>
				        <li><a href="login.jsp">登录</a></li>
				    </c:otherwise>
				</c:choose>
                        <li><a href="signin.jsp">注册</a></li>
                    </ul>
                    
                    <ul class="navul">
                       <li><a href="index.jsp"><span>首页</span></a></li>
                        <li><a href="hm.jsp"><span id="current">健康管家</span></a></li>
                        <li class="navli"><a href="vh.jsp"><span>心语阁</span></a></li>
                        <li><a href="tgb.jsp"><span>真善美小屋</span></a></li>
                        <li><a href="cs.jsp"><span>个人中心</span></a></li>
                    </ul>
                </nav>
            </div>
        </header>
        
        <div id="psdOutput">
            <div class="container">
                <div class="page-toolbox page-toggle">
    <header class="legend ">志愿者列表</header>
    <!--左侧菜单 结束-->
	<!--收货人管理-->
        <div class="right_content" style="width:100%;height:480px;">
          <h3 class="mall_title">符合要求的志愿者</h3>
          <div class="mall_right_main">
            <div class="messrs_box">
              <table>
                <tr class="mes_th">
                	<td>编号</td>
                  <td>用户名</td>
                  <td>性别</td>
                  <td>地址</td>
                  <td>服务日期</td>
                  <td>服务开始时间</td>
                  <td>服务结束时间</td>
                  <td>积分</td>
                  <td width="56">匹配</td>
                </tr>
                <c:forEach items="${volunteers}" var="tabbean">
                 <tr>
                 <td id="vid">${tabbean.getVid()}</td>
                  <td id="vname">${tabbean.getVname()}</td>
                  <td>
                    <p class="canton">${tabbean.getVsex()}</p>
                  </td>
                  <td>
                    <p class="adr_td">${tabbean.getVaddress()}</p>
                  </td>
                  <td>${tabbean.getVdate()}</td>
                  <td>${tabbean.getVtimeStart()}</td>
                  <td>${tabbean.getVtimeEnd()}</td>
                  <td>${tabbean.getVscore()}</td>
                  <td>
                    <a href="javascript:void(0);" onclick="chooseVolunteer(${tabbean.getVid()})" class="revise_btn">匹配</a>
                  </td>
                </tr>
                </c:forEach>                            
              </table>
              </div>
          </div>
		</div>
    	
   <%--  <section class="btm-space" id="volunteer_list">
    	<c:forEach items="${volunteers}" var="tabbean">
			<div class="box toolbox">
            <div class="box vertical box-fl">
                <a href="/profile/1866689/index">
				<img style="border-radius:50px;border:none;" src="images/header_default.png" align="absmiddle" alt="bfbrmt" title="bfbrmt"/></a>
              </div>
              <div class="box-aw">
                  <div class="doyen-name wrap">
                      <a class="link" href="/profile/1866689/index">${tabbean.vname}</a>
                  </div>
                  <div class="doyen-detail">
                  	<span>性别&nbsp;&nbsp;&nbsp;${tabbean.vsex}</span>
                  	<span>年龄&nbsp;&nbsp;&nbsp;${tabbean.vage}</span>
                  	<span>电话&nbsp;&nbsp;&nbsp;${tabbean.vphone}</span><br/>
                  	<span>类型&nbsp;&nbsp;&nbsp;${tabbean.vtype}</span><br/>
                  	<span>地址&nbsp;&nbsp;&nbsp;${tabbean.vaddress}</span>
				</div>
                  <div class="doyen-detail">积分&nbsp;&nbsp;&nbsp;${tabbean.vscore}分</div>
              </div>
          </div>
          </c:forEach>
       </section> --%>
     </div>
 </div>
       <footer style="margin-top:500px">
        <div class="container">
            <ul id="links">
                <li><a href="">中国青年志愿者网</a></li>
                <li><a href="">中国青年志愿者协会</a></li>
                <li><a href="">中国志愿服务联合会</a></li>
                <li><a href="">志愿北京</a></li>
                <li><a href="">腾讯公益</a></li>
                <li><a href="">搜狐公益</a></li>
                <li><a href="">网易公益</a></li>
            </ul><br>
            <p>Copyright &copy;“幸福巢”社会互助养老公益网</p>
            <div id="contact">
                <h3>联系我们</h3>
                <p>游女士：Tel：18216018060   邮箱：1007420955@qq.com   <br> 曾女士：Tel:15570904369   邮箱:594185294@qq.com     <br>地址:湖南省衡阳市蒸湘区常胜西路28号南华大学护理学院</p>
            </div>
        </div>
    </footer>
        </div>
    </body>
</html>